/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package weka;

import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;

/**
 *
 * @author Utilisateur
 */
public class InsererAction extends AbstractAction{
    private MainWindow fenetre;
    
    public InsererAction(MainWindow fenetre, String texte)
    {
        super(texte);
        this.fenetre = fenetre;
    }

    @Override
    public void actionPerformed(ActionEvent e) {
        InsererIHM ihm = new InsererIHM();
        ihm.setVisible(true);
    }
    
}
